﻿@namespace BlazorDemo.Pages.CodeSnippets

<CodeSnippetTabbed DocLink="https://docs.devexpress.com/Blazor/DevExpress.Blazor.DxDateEdit-1#nullable-date-and-placeholder">
    <CodeSnippetTabPage Text="Razor">@(@"<DxDateEdit @bind-Date=""@DateTimeValue""
            ClearButtonDisplayMode=""DataEditorClearButtonDisplayMode.Auto""
            NullText=""Select a date..."">
</DxDateEdit>

@code {
    DateTime? dateTimeValue { get; set; } = DateTime.Now;
}")</CodeSnippetTabPage>
</CodeSnippetTabbed>
